correct variable name
authorAntoine Musso <hashar@users.mediawiki.org>
Thu, 10 Nov 2011 13:14:52 +0000 (13:14 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Thu, 10 Nov 2011 13:14:52 +0000 (13:14 +0000)
This is caused by r102640, I have moved some code to a new function
and forgot to rename the internal variable name to match the function
parameter.

includes/LocalisationCache.php

index ffea229..10f5ca7 100644 (file)
@@ -731,10 +731,10 @@ class LocalisationCache {
                        wfProfileOut( __METHOD__ );
                        return;
                }
-       
+
                # Save to the persistent cache
                $this->store->startWrite( $code );
-               foreach ( $allData as $key => $value ) {
+               foreach ( $data as $key => $value ) {
                        if ( in_array( $key, self::$splitKeys ) ) {
                                foreach ( $value as $subkey => $subvalue ) {
                                        $this->store->set( "$key:$subkey", $subvalue );